/****************************************************************************
** Form interface generated from reading ui file '.ui/dlg_commit.ui'
**
** Created: Sun Sep 21 13:02:56 2008
**
** WARNING! All changes made in this file will be lost!
****************************************************************************/

#ifndef DLG_COMMIT_H
#define DLG_COMMIT_H

#include <qvariant.h>
#include <qdialog.h>

class QVBoxLayout;
class QHBoxLayout;
class QGridLayout;
class QSpacerItem;
class QGroupBox;
class QListBox;
class QListBoxItem;
class QPushButton;
class QTextEdit;
class QComboBox;

class dlg_commit : public QDialog
{
    Q_OBJECT

public:
    dlg_commit( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
    ~dlg_commit();

    QGroupBox* gr_files;
    QListBox* files_to_commit;
    QPushButton* bt_select_all;
    QPushButton* bt_deselect_all;
    QTextEdit* msgEdit;
    QComboBox* cb_commit_hist;
    QPushButton* bt_clear;
    QPushButton* buttonOk;
    QPushButton* buttonCancel;

public slots:
    virtual void bt_clear_clicked();
    virtual void loadCommitMessages();
    virtual void saveCommitMessages();
    virtual void setCommitPath( const QString & path );
    virtual void selectAll() = 0;
    virtual void deselectAll() = 0;

protected:
    QGridLayout* dlg_commitLayout;
    QVBoxLayout* layout23;
    QGridLayout* gr_filesLayout;
    QVBoxLayout* layout3;
    QSpacerItem* spacer3;
    QHBoxLayout* layout45;
    QSpacerItem* spacer26;

protected slots:
    virtual void languageChange();

private:
    void init();

};

#endif // DLG_COMMIT_H
